<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
	<title>用户注册</title>
</head>
<body>
<form id="inputForm" action="${ctx}/gtd/context/save" method="post" class="form-horizontal">
<input type="hidden" id="id" name="id" value="${gtdContext.id}"/>
<fieldset>
	 <legend><small>上下文(contexts)</small></legend>
	<div class="control-group">
	<label class="control-label" for="name">名称</label>
	<div class="controls">
	<input type="text" name="name" value="${gtdContext.name}" class="input-xlarge" id="name">
	<p class="help-block">字母，数字，汉字皆可</p>
	</div>
	</div>

	<div class="control-group">
	<label class="control-label" for="description">描述</label>
	<div class="controls">
	<textarea  rows="3" name="description"  id="description">${gtdContext.description}</textarea>
	<p class="help-block">字母，数字，汉字皆可</p>
	</div>
	</div>

 <div class="control-group">
<div class="controls">
<button type="submit" class="btn btn-primary"> <i class="icon-ok-sign icon-white"></i> 保存</button>
<a href="${ctx}/gtd/context/list" class="btn"><i class="icon-share-alt"></i> 返回</a>
</div>
</div>

</fieldset>
</form>
 
</body>
</html>
